package StructuralPattern.Adapter;

/**
 * @Classname : ObjectAdapter
 * @Description : 对象适配器
 * @Author : chentianyu
 * @Date 2023/1/26 21:43
 */


public class ObjectAdapter implements Target {
    private Adaptee adaptee;

    public ObjectAdapter(Adaptee adaptee){
        this.adaptee = adaptee;
    }

    @Override
    public void targetRequest() {
        adaptee.extendRequest();
    }
}
